package com.kfm.base.oop3;

public class Sub extends Sup{

    static int a = 11;
    static int b = 22;


    public Sub(int a, int b) {
        super(a, b);
        print();
    }
    @Override
    public void print(){
        System.out.println("Sub: " + this.a);
        System.out.println("Sub: " + this.b);
        System.out.println("Sup: " + super.a);
        System.out.println("Sup: " + super.b);
    }

}
